package uni.call.app;

import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;

public class SAXHandle extends DefaultHandler
{
    public static String Balance = new String();
    private String TempVal;
    
    @Override
    public void characters(char[] ch, int start, int length) throws SAXException
    {
        TempVal = new String(ch, start, length);
    }

    @Override
    public void endElement(String uri, String localName, String qName)
    {
        if(qName.equalsIgnoreCase("msg_no"))
        {
        	Balance = TempVal;
        }
    }
}
